package com.coin900.coin.service.sop;


import com.coin900.coin.persist.sop.SopButtonVO;
import com.coin900.coin.persist.sop.SopRoleButtonVO;

import java.util.List;
import java.util.Map;

/**
 * @author shui
 * @create 2018-01-05
 **/
public interface ISopRoleButtonService{

    List<SopRoleButtonVO> loadSopRoleButton(Map<String, Object> params);

    /**
     * 新增
     *
     * @param sopRoleButtonVO
     */
    void insertSopRoleButton(SopRoleButtonVO sopRoleButtonVO);

    /**
     * 批量新增
     *
     * @param roleId
     * @param sopButtonList
     */
    void insertSopRoleButtonBatch(Long roleId, List<SopButtonVO> sopButtonList);

    void updateSopRoleButton(SopRoleButtonVO sopRoleButtonVO);

    void deleteSopRoleButton(SopRoleButtonVO sopRoleButtonVO);

}